public class Beast extends Animal{
    public Beast(String name, int age) {
        super(name, age);
    }

    @Override
    public void sound() {
        System.out.println(getName() + "在咆哮...");
    }

    @Override
    public void move() {
        System.out.println(getName() + "在奔跑...");
    }

    @Override
    public AnimalType getAnimalType() {
        return AnimalType.BEAST;
    }
}
